package Base.CommonClass.ObjectTest;

public class ToStringTest {
    public static void main(String[] args) {
        final Customer tom = new Customer("Tom", 22);
        System.out.println(tom); // Customer{name='Tom', age=22}
        System.out.println(tom.toString()); // Customer{name='Tom', age=22}
    }
}
